For computer literate people.
I want to send and receive data to/from an API.
The site's API says I have to talk to the API using GET, and POST commands (with a private key). It also says I will get back data in JSON.
All I want to do is send an exchange orders to buy and sell contract in real time through their API.
For instance, at 10:00AM, I may want to send an order to buy 10 contracts of X at price Y and sell 10 contracts of X at price Z, and then 2 minutes later automatically (through the API) update it to a different price. I also want to cancel the previous order when I update. The site has API "methods" to buy/sell and cancel orders.
So the newbie question is, how do I go about even starting to do this? How is my laptop supposed to communicate to the server/API?
So far, what I have done, is create an algorithm, in Excel, updated in real time. The output of this algorithm has the price I want to buy, and sell, these contracts.
So the data the API needs is ready in my computer. But as a newbie to these types of communication, I don't know what to do next. Am I supposed to write a program in some language, on my computer, input the data I have, along with the POST command, and send it off to the server? And how do I send it off to the server, I don't have a server. I can only send http from my laptop, right?
It seems so simple, I have the data ready, just send it off to the server in the format it wants. Can someone give me a very general outline of what I have to do next?
Thanks,
A stumped computer illiterate.
I want to send and receive data to/from an API.
The site's API says I have to talk to the API using GET, and POST commands (with a private key). It also says I will get back data in JSON.
All I want to do is send an exchange orders to buy and sell contract in real time through their API.
For instance, at 10:00AM, I may want to send an order to buy 10 contracts of X at price Y and sell 10 contracts of X at price Z, and then 2 minutes later automatically (through the API) update it to a different price. I also want to cancel the previous order when I update. The site has API "methods" to buy/sell and cancel orders.
So the newbie question is, how do I go about even starting to do this? How is my laptop supposed to communicate to the server/API?
So far, what I have done, is create an algorithm, in Excel, updated in real time. The output of this algorithm has the price I want to buy, and sell, these contracts.
So the data the API needs is ready in my computer. But as a newbie to these types of communication, I don't know what to do next. Am I supposed to write a program in some language, on my computer, input the data I have, along with the POST command, and send it off to the server? And how do I send it off to the server, I don't have a server. I can only send http from my laptop, right?
It seems so simple, I have the data ready, just send it off to the server in the format it wants. Can someone give me a very general outline of what I have to do next?
Thanks,
A stumped computer illiterate.